

    const tpadmin = require('../lib/tpadmin.js')

    module.exports = {

        checkNewsInfo: async (id) => {
            let query = `select * from tpadmin_news_info where id = ${id}`
            return tpadmin.allSqlAction(query).then(res => {
                return res[0]
            })
        }

    }